﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FPC.Offer.Repository
{
    public class System_Police_OrganizeTalbeRepository : BaseRepository<Model.Police_OrganizeTalbe>, IRepository.ISystem_Police_OrganizeTalbeRepository
    {
        public int or_deletes(string OrganizeId)
        {
            string sql = string.Format("update Police_OrganizeTalbe SET AlarmId='-1' where OrganizeId in ({0})", OrganizeId);
            return DbContext.Database.ExecuteSqlCommand(sql);
        }

    }
}
